<?php

	foreach ($articles as $article) {

		$title = $article -> title;
		$link = "{context.relativeBasePath}article/{$article -> id}.html";
		
		echo "<h1><a href=\"$link\">$title</a></h1>";
		echo $article -> text;
	}
